﻿using System;
namespace EnterpriseFund.Model
{
    /// <summary>
    /// TaxAuditAdjust:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class TaxAuditAdjust
    {
        public TaxAuditAdjust()
        {
            FAdjustAmount = 0M;
            FAdjustDate = DateTime.Now;
            FStatus = "N";
        }
        #region Model
        /// <summary>
        /// 税款数据调整ID
        /// </summary>
        public string FTaxAuditAdjustID
        {
            set;
            get;
        }
        /// <summary>
        /// 公司编码
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        /// <summary>
        /// 年度
        /// </summary>
        public decimal FYear
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FTaxClassAllowanceNo
        {
            set;
            get;
        }

        /// <summary>
        /// 
        /// </summary>
        public string FTaxClassAllowanceName
        {
            set;
            get;
        }
        /// <summary>
        /// 调整金额
        /// </summary>
        public decimal FAdjustAmount
        {
            set;
            get;
        }
        /// <summary>
        /// 调整日期
        /// </summary>
        public DateTime FAdjustDate
        {
            set;
            get;
        }

        /// <summary>
        /// 调整日期
        /// </summary>
        public string FAdjustDateStr
        {
            get
            {
                if (FAdjustDate != null)
                {
                    return DateTime.Parse(FAdjustDate.ToString()).ToString("yyyy-MM-dd");
                }
                else
                {
                    return "";
                }
            }
        }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime RKRQ
        {
            set;
            get;
        }

        /// <summary>
        /// 入库日期
        /// </summary>
        public string RKRQStr
        {
            get
            {
                if (RKRQ != null)
                {
                    return DateTime.Parse(RKRQ.ToString()).ToString("yyyy-MM-dd");
                }
                else
                {
                    return "";
                }
            }
        }
        /// <summary>
        /// 调整原因
        /// </summary>
        public string FNote
        {
            set;
            get;
        }
        /// <summary>
        /// 调整部门编号
        /// </summary>
        public string FAdjustDeptNo
        {
            set;
            get;
        }
        /// <summary>
        /// 调整人
        /// </summary>
        public string FAdjustEmpNo
        {
            set;
            get;
        }

        /// <summary>
        /// 调整人
        /// </summary>
        public string FEmpName
        {
            set;
            get;
        }
        /// <summary>
        /// 调整IP
        /// </summary>
        public string FAdjustIP
        {
            set;
            get;
        }
        /// <summary>
        /// 状态
        ///D -  删除状态
        ///S  - 不可删除状态
        ///N -  新输入的数据

        ///如果流程提交到下一阶段后，需要把新的状态改为 不可删除状态
        /// </summary>
        public string FStatus
        {
            set;
            get;
        }
        /// <summary>
        /// 数据审核电子档案号
        /// </summary>
        public string FTaxAuditId
        {
            set;
            get;
        }

        public string NSRSBH
        {
            set;
            get;
        }
        public string NSRBM
        {
            set;
            get;
        }
        public string NSRMC
        {
            set;
            get;
        }
        #endregion Model

    }
}

